package com.pavelk.orion.view.components
{
	import flash.display.Sprite;

	public class StageView extends Sprite
	{
		private var _background:Sprite;
		
		public function get background():Sprite { return _background; }
		
		public function StageView()
		{
			_background = new Sprite();
			addChild( _background );
		}
		
		public function addAssets( assets:Object ) : void
		{
            var AssetClass:Class = assets.Background.asset;
            //var AssetClass:Class = assets.River.asset;
            var bg:Sprite = new AssetClass();
            background.addChild( bg );
		}
		
	}
}